public class Ex4_13{
	public static void main(String[] args){
		double n = 12000;
		while (n*n*n >= 12000)
			n--;
		System.out.println(n);
	}
}